package com.zhongge.mapper;

import com.zhongge.entity.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @InterfaceName StudentMapper
 * @Description TODO
 * @Author zhongge
 * @Version 1.0
 */
@Mapper
public interface StudentMapper {
    //查询
    List<Student> selectStudentAll();
    Student selectStudentById(Integer id);
    //修改
    int updateStudent(Student student);
    //增加
    boolean addStudent(Student student);
    //删除
    boolean deleteStudent(Integer id);
}
